#!/usr/bin/env zx

import type { ProcessOutput } from 'zx'
import { $ } from 'zx'

// await $`pnpm style:lint`.catch((out: ProcessOutput) => {
// 	console.log(out)
//
// 	throw new Error(out.stdout)
// })

// check type and stage
await Promise.all([$`pnpm check`]).catch((out: ProcessOutput) => {
	console.log(out)
	throw new Error(out.stdout)
})
